package com.Logistics.truck;

import com.Logistics.entity.truck.TruckBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "pd-base",path = "/truck")
public interface TruckFeignClient {
    @GetMapping("/getTruckById/{id}")
    TruckBean getTruckById(@PathVariable String id);
}
